﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class FlyActionManager : SSActionManager
{

    private FlyAction fly;
    public FirstController sceneController;

    protected void Start()
    {
        sceneController = (FirstController)SSDirector.getInstance().currentSceneController;
        sceneController.actionManager = this;
    }
    
    public void ArrowFly(GameObject arrow, Vector3 wind)
    {
        fly = FlyAction.GetSSAction(wind);
        this.RunAction(arrow, fly, this);
    }
}